package com.macw.wwmember;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient //开启服务注册与发现功能
@EnableFeignClients(basePackages = "com.macw.wwmember.feign")  //开启远程服务调用功能
@MapperScan("com.macw.wwmember.dao")
public class WwMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(WwMemberApplication.class, args);
    }

}
